]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Draw a border around the panel. Move it to -1,-1 and make the width+2 so we only...
authorJohan Dahlin <johan@src.gnome.org>
Sun, 2 Nov 2008 03:00:45 +0000 (03:00 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Sun, 2 Nov 2008 03:00:45 +0000 (03:00 +0000)
svn path=/trunk/; revision=19

js/ui/panel.js

index 22fcafa3b688d46cfb8f9cd8d65aeb1e55c551b4..f702a7c1ddf274084c15c206272feaf8d9147e87 100644 (file)
@@ -26,8 +26,10 @@ Panel.prototype = {
 
        let background = new Clutter.Rectangle({ color: PANEL_BACKGROUND_COLOR,
                                                 reactive: true,
-                                                width: global.screen_width,
-                                                height: PANEL_HEIGHT });
+                                                width: global.screen_width+2,
+                                                height: PANEL_HEIGHT+1,
+                                                border_width: 1});
+       background.set_position(-1, -1)
        this._group.add_actor(background);
 
        let message = new Clutter.Label({ font_name: "Sans Bold 16px",